module.exports = {
    publicPath:'./',
    outputDir:'dist',
    devServer:{
        proxy: {
            '/api': {
              target: 'http://localhost:3000/',
              ws: true,
              changeOrigin: true,
              pathRewirte:{
                '/api':''
              }
            }
        },
        host: 'localhost', // can be overwritten by process.env.HOST
        port: 8000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
    }
    
}